# $Id: PKGBUILD 154144 2012-03-23 17:24:05Z andyrtr $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xextproto
pkgver=7.2.1
pkgrel=1
pkgdesc="X11 various extension wire protocol"
arch=('any')
license=('custom')
makedepends=('xmlto' 'xorg-util-macros' 'docbook-xsl')
url="http://xorg.freedesktop.org/"
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('f969e02009adf2d51fd1ba4583a859984728a461')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
